<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of master
 *
 * @author vitoco
 */
class master {
    private $resul = "";
    
    //put your code here
    public function showMenu(){
        foreach (glob("layouts/modules/*.php") as $filename) {
            $name = basename($filename,".php");
            $this->resul.='<input type="button" name="'.$name.'" value="'.strtoupper($name).'">';
        }
        return $this->resul;
    }
    
    public function loadModule($name){
        
    }
    
    public function showErrorMsg(){}
   
}

?>
